import axios from '../request';


export const exhibitDirection = () => { 
  // 返回的数据格式可以和服务端约定
  return axios.get<any>(`api/showpiece/direction`, {});
};
// export const exhibitInfo = (parmas: number) => {
//   // 获取展品详情
//   return axios.get<any>(`api/showpiece/${parmas}`, {});
// };
// export const exhibitDisable = (parmas: number) => {
//   // 移动到回收站
//   return axios.put<any>(`api/showpiece/disable/${parmas}`, {});
// };
// export const exhibitRecovery = (parmas: string) => {
//   // 从回收站回复
//   return axios.put<any>(`api/showpiece/recovery/${parmas}`, {});
// };
// export const exhibitMove = (parmas: number) => {
//   // 移动私有库公有库
//   return axios.put<any>(`api/showpiece/move/${parmas}`, {});
// };
// export const exhibitPublish = (parmas: number) => {
//   //发布
//   return axios.put<any>(`api/showpiece/publish/${parmas}`, {});
// };
// export const exhibitWithdrawn = (parmas: number) => {
//   //发布撤回
//   return axios.put<any>(`api/showpiece/withdrawn/${parmas}`, {});
// };
// export const enterpriseList = (parmas: ExhibitList) => {
//   // 获取展品数据
//   return axios.post<any>(`api/showpiece/companyData`, parmas);
// };
// export const showpieceList = (parmas: ExhibitList) => {
//   // 获取展品数据
//   return axios.post<any>(`api/showpiece/list`, parmas);
// };
// interface ModuleInfo {
//   id: number;
//   value?: string;
//   pageNo: number;
//   pageSize: number;
// } 
// export const moduleShowpieces = (projectId: number|string, parmas: ModuleInfo) => {
//   // 获取项目展品数据
//   return axios.get<any>(`api/exhibition/moduleShowpieces/${projectId}`, parmas);
// };
